package com.sdb.patientuser.domain;

import com.sdb.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class Patientuser {
    /** 病人id */
    private String patientsId;

    /** 就诊卡id */
    @Excel(name = "就诊卡id")
    private String cardId;

    /** 病人姓名 */
    @Excel(name = "病人姓名")
    private String patientName;

    /** 病人性别 */
    @Excel(name = "病人性别")
    private String patientSex;

    /** 病人手机号 */
    private String phone;

    /** 病人年龄 */
    @Excel(name = "病人年龄")
    private String age;

    /** 证件号 */
    private String number;

    /** 联系人姓名 */
    private String familyName;

    /** 联系人电话 */
    private String familyPhone;

    /** 注册时间 */
    @Excel(name = "注册时间")
    private String date;

    /**就诊卡余额 */
    @Excel(name = "就诊卡余额")
    private String money;

    /**账号id**/
    private Long userId;

    public void setPatientsId(String patientsId)
    {
        this.patientsId = patientsId;
    }

    public String getPatientsId()
    {
        return patientsId;
    }
    public void setCardId(String cardId)
    {
        this.cardId = cardId;
    }

    public String getCardId()
    {
        return cardId;
    }
    public void setPatientName(String patientName)
    {
        this.patientName = patientName;
    }

    public String getPatientName()
    {
        return patientName;
    }
    public void setPatientSex(String patientSex)
    {
        this.patientSex = patientSex;
    }

    public String getPatientSex()
    {
        return patientSex;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setAge(String age)
    {
        this.age = age;
    }

    public String getAge()
    {
        return age;
    }
    public void setNumber(String number)
    {
        this.number = number;
    }

    public String getNumber()
    {
        return number;
    }
    public void setFamilyName(String familyName)
    {
        this.familyName = familyName;
    }

    public String getFamilyName()
    {
        return familyName;
    }
    public void setFamilyPhone(String familyPhone)
    {
        this.familyPhone = familyPhone;
    }

    public String getFamilyPhone()
    {
        return familyPhone;
    }
    public void setDate(String date)
    {
        this.date = date;
    }

    public String getDate()
    {
        return date;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("patientsId", getPatientsId())
                .append("cardId", getCardId())
                .append("patientName", getPatientName())
                .append("patientSex", getPatientSex())
                .append("phone", getPhone())
                .append("age", getAge())
                .append("number", getNumber())
                .append("familyName", getFamilyName())
                .append("familyPhone", getFamilyPhone())
                .append("date", getDate())
                .append("money", getMoney())
                .append("userId", getUserId())
                .toString();
    }
}
